package com.ruoyi.zsix.mapper.formComponentsMapper;

import com.ruoyi.zsix.domain.model.DictDataEntity;
import com.ruoyi.zsix.domain.model.DictTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DictMapper {
    /**
     * 查询字典列表
     * @return
     */
    List<DictTypeEntity> getDicts();

    List<DictDataEntity> getDictDatas(@Param("dictTypeNo") String dictTypeNo);
}
